package com.wx.commons.config.exception;

import com.baomidou.mybatisplus.extension.api.IErrorCode;
import com.wx.commons.constant.ErrorCodeEnum;

public class FileSaveException extends RuntimeException {

    protected final IErrorCode errorCode;

    public FileSaveException() {
        this.errorCode = ErrorCodeEnum.FILE_SAVE_EXCEPTION;
    }

    public FileSaveException(String message) {
        super(message);
        this.errorCode = ErrorCodeEnum.FILE_SAVE_EXCEPTION;
    }
}
